3.1.66 \(\int (f x)^{-1+n} \log (c (d+e x^n)^p) \, dx\) [66]

Optimal. Leaf size=69 \[ -\frac {p (f x)^n}{f n}+\frac {d p x^{-n} (f x)^n \log \left (d+e x^n\right )}{e f n}+\frac {(f x)^n \log \left (c \left (d+e x^n\right )^p\right )}{f n} \]

[Out]

-p*(f*x)^n/f/n+d*p*(f*x)^n*ln(d+e*x^n)/e/f/n/(x^n)+(f*x)^n*ln(c*(d+e*x^n)^p)/f/n

________________________________________________________________________________________

Rubi [A]
time = 0.03, antiderivative size = 69, normalized size of antiderivative = 1.00, number of steps used = 5, number of rules used = 4, integrand size = 20, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.200, Rules used = {2505, 20, 272, 45} \begin {gather*} \frac {(f x)^n \log \left (c \left (d+e x^n\right )^p\right )}{f n}+\frac {d p x^{-n} (f x)^n \log \left (d+e x^n\right )}{e f n}-\frac {p (f x)^n}{f n} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(f*x)^(-1 + n)*Log[c*(d + e*x^n)^p],x]

[Out]

-((p*(f*x)^n)/(f*n)) + (d*p*(f*x)^n*Log[d + e*x^n])/(e*f*n*x^n) + ((f*x)^n*Log[c*(d + e*x^n)^p])/(f*n)

Rule 20

Int[(u_.)*((a_.)*(v_))^(m_)*((b_.)*(v_))^(n_), x_Symbol] :> Dist[b^IntPart[n]*((b*v)^FracPart[n]/(a^IntPart[n]
*(a*v)^FracPart[n])), Int[u*(a*v)^(m + n), x], x] /; FreeQ[{a, b, m, n}, x] &&  !IntegerQ[m] &&  !IntegerQ[n]
&&  !IntegerQ[m + n]

Rule 45

Int[((a_.) + (b_.)*(x_))^(m_.)*((c_.) + (d_.)*(x_))^(n_.), x_Symbol] :> Int[ExpandIntegrand[(a + b*x)^m*(c + d
*x)^n, x], x] /; FreeQ[{a, b, c, d, n}, x] && NeQ[b*c - a*d, 0] && IGtQ[m, 0] && ( !IntegerQ[n] || (EqQ[c, 0]
&& LeQ[7*m + 4*n + 4, 0]) || LtQ[9*m + 5*(n + 1), 0] || GtQ[m + n + 2, 0])

Rule 272

Int[(x_)^(m_.)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> Dist[1/n, Subst[Int[x^(Simplify[(m + 1)/n] - 1)*(a
+ b*x)^p, x], x, x^n], x] /; FreeQ[{a, b, m, n, p}, x] && IntegerQ[Simplify[(m + 1)/n]]

Rule 2505

Int[((a_.) + Log[(c_.)*((d_) + (e_.)*(x_)^(n_))^(p_.)]*(b_.))*((f_.)*(x_))^(m_.), x_Symbol] :> Simp[(f*x)^(m +
 1)*((a + b*Log[c*(d + e*x^n)^p])/(f*(m + 1))), x] - Dist[b*e*n*(p/(f*(m + 1))), Int[x^(n - 1)*((f*x)^(m + 1)/
(d + e*x^n)), x], x] /; FreeQ[{a, b, c, d, e, f, m, n, p}, x] && NeQ[m, -1]

Rubi steps

\begin {align*} \int (f x)^{-1+n} \log \left (c \left (d+e x^n\right )^p\right ) \, dx &=\frac {(f x)^n \log \left (c \left (d+e x^n\right )^p\right )}{f n}-\frac {(e p) \int \frac {x^{-1+n} (f x)^n}{d+e x^n} \, dx}{f}\\ &=\frac {(f x)^n \log \left (c \left (d+e x^n\right )^p\right )}{f n}-\frac {\left (e p x^{-n} (f x)^n\right ) \int \frac {x^{-1+2 n}}{d+e x^n} \, dx}{f}\\ &=\frac {(f x)^n \log \left (c \left (d+e x^n\right )^p\right )}{f n}-\frac {\left (e p x^{-n} (f x)^n\right ) \text {Subst}\left (\int \frac {x}{d+e x} \, dx,x,x^n\right )}{f n}\\ &=\frac {(f x)^n \log \left (c \left (d+e x^n\right )^p\right )}{f n}-\frac {\left (e p x^{-n} (f x)^n\right ) \text {Subst}\left (\int \left (\frac {1}{e}-\frac {d}{e (d+e x)}\right ) \, dx,x,x^n\right )}{f n}\\ &=-\frac {p (f x)^n}{f n}+\frac {d p x^{-n} (f x)^n \log \left (d+e x^n\right )}{e f n}+\frac {(f x)^n \log \left (c \left (d+e x^n\right )^p\right )}{f n}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.03, size = 48, normalized size = 0.70 \begin {gather*} \frac {x^{1-n} (f x)^{-1+n} \left (-p x^n+\frac {\left (d+e x^n\right ) \log \left (c \left (d+e x^n\right )^p\right )}{e}\right )}{n} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(f*x)^(-1 + n)*Log[c*(d + e*x^n)^p],x]

[Out]

(x^(1 - n)*(f*x)^(-1 + n)*(-(p*x^n) + ((d + e*x^n)*Log[c*(d + e*x^n)^p])/e))/n

________________________________________________________________________________________

Maple [F]
time = 0.06, size = 0, normalized size = 0.00 \[\int \left (f x \right )^{-1+n} \ln \left (c \left (d +e \,x^{n}\right )^{p}\right )\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((f*x)^(-1+n)*ln(c*(d+e*x^n)^p),x)

[Out]

int((f*x)^(-1+n)*ln(c*(d+e*x^n)^p),x)

________________________________________________________________________________________

Maxima [A]
time = 0.29, size = 70, normalized size = 1.01 \begin {gather*} -\frac {e p {\left (\frac {f^{n} x^{n}}{e n} - \frac {d f^{n} \log \left (\frac {e x^{n} + d}{e}\right )}{e^{2} n}\right )}}{f} + \frac {\left (f x\right )^{n} \log \left ({\left (e x^{n} + d\right )}^{p} c\right )}{f n} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x)^(-1+n)*log(c*(d+e*x^n)^p),x, algorithm="maxima")

[Out]

-e*p*(f^n*x^n/(e*n) - d*f^n*log((e*x^n + d)/e)/(e^2*n))/f + (f*x)^n*log((e*x^n + d)^p*c)/(f*n)

________________________________________________________________________________________

Fricas [A]
time = 0.48, size = 60, normalized size = 0.87 \begin {gather*} -\frac {{\left ({\left (p e - e \log \left (c\right )\right )} f^{n - 1} x^{n} - {\left (f^{n - 1} p x^{n} e + d f^{n - 1} p\right )} \log \left (x^{n} e + d\right )\right )} e^{\left (-1\right )}}{n} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x)^(-1+n)*log(c*(d+e*x^n)^p),x, algorithm="fricas")

[Out]

-((p*e - e*log(c))*f^(n - 1)*x^n - (f^(n - 1)*p*x^n*e + d*f^(n - 1)*p)*log(x^n*e + d))*e^(-1)/n

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (f x\right )^{n - 1} \log {\left (c \left (d + e x^{n}\right )^{p} \right )}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x)**(-1+n)*ln(c*(d+e*x**n)**p),x)

[Out]

Integral((f*x)**(n - 1)*log(c*(d + e*x**n)**p), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((f*x)^(-1+n)*log(c*(d+e*x^n)^p),x, algorithm="giac")

[Out]

integrate((f*x)^(n - 1)*log((x^n*e + d)^p*c), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \ln \left (c\,{\left (d+e\,x^n\right )}^p\right )\,{\left (f\,x\right )}^{n-1} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(log(c*(d + e*x^n)^p)*(f*x)^(n - 1),x)

[Out]

int(log(c*(d + e*x^n)^p)*(f*x)^(n - 1), x)

________________________________________________________________________________________